<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8"/>
    <title>Title</title>
	 <!-- Required meta tags -->
  <meta charset="utf-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
  <title>Purple Admin</title>
  <!-- plugins:css -->
  <link rel="stylesheet" href="../../vendors/iconfonts/mdi/css/materialdesignicons.min.css"/>
  <link rel="stylesheet" href="../../vendors/css/vendor.bundle.base.css"/>
  <!-- endinject -->
  <!-- plugin css for this page -->
  <link rel="stylesheet" href="../../node_modules/jqvmap/dist/jqvmap.min.css" />
  <!-- End plugin css for this page -->
  <!-- inject:css -->
  <link rel="stylesheet" href="../../css/style.css"/>
  <!-- endinject -->
  <link rel="shortcut icon" href="../../images/favicon.png" />
</head>
<body>
	<div class="col-lg-12 stretch-card">
              <div class="card">
                <div class="card-body">
                  <h4 class="card-title">
				  <button type="button" class="btn btn-gradient-primary btn-rounded btn-icon">
                          <i class="mdi mdi-home-outline"></i>
                        </button>
				  <font style="vertical-align: inherit;"><font style="vertical-align: inherit;">首页/财务管理/银行账户管理/银行流水录入</font></font></h4>

                  <span class="card-description"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">
                    数据列表 </font></font>
                  </span>
				  <div style="position:relative;left:80%;">
						 <button type="button" class="btn btn-gradient-success"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">录入</font></font></button>
				  <!-- <button type="button" class="btn btn-gradient-light"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">打印</font></font></button> -->
				  <button type="button" class="btn btn-gradient-light"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">导出</font></font></button>
				  </div>
                  <table class="table table-bordered">
                    <thead>
                      <tr>
                        <th><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">
                          日期
                        </font></font></th>
                        <th><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">
                          凭证号
                        </font></font></th>
                        <th><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">
                          摘要
                        </font></font></th>
                        <th><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">
                          借方发生额
                        </font></font></th>
						<th><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">
                          贷方发生额
                        </font></font></th>
						<th><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">
                          发生账户
                        </font></font></th>
						<th><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">
                          账户户名
                        </font></font></th>
						<th><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">
                          备注
                        </font></font></th>
						<th><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">
                          操作
                        </font></font></th>
                      </tr>
                    </thead>
                    <tbody>
                    <tr th:each="yyy:${qryAllList1}">
                        <td th:text="${yyy.app.alTime}"></td>
                        <td th:text="${yyy.app.alTransactionNumber}"></td>
                        <td th:text="${yyy.app.alZhaiyao}"></td>
                        <td th:text="${yyy.app.alLoanMoney}"></td>
                        <td >0.00</td>
						<td th:text="${yyy.yNum}"></td>
						<td th:text="${yyy.title}"></td>
						<td th:text="${yyy.app.alComment}"></td>
						<td><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">
                            <a href="javascript:;" th:onclick="'del(this)'" th:attr="yId=${yyy.yId }">删除</a>
                        </font></font></td>
                      </tr>
                    </tbody>
                  </table>
                </div>
              </div>
            </div>
    <script type="text/javascript" th:src="@{/js/jquery-1.8.3.min.js}"></script>
    <script type="text/javascript" th:src="@{/layer/layer.js}"></script>
    <script type="text/javascript" th:src="@{/js/time.js}"></script>
    <script type="text/javascript">
        //删除用户
        function del(ele) {
            var $ele = $(ele);
            var yId = $ele.attr('yId');
            // alert(yId);
            $.ajax({
                url: '/ysy/delstr/' + yId + "",
                type: 'get',
                data: '',
                dataType: 'json',
                success: function (data) {//{'success':xx,'msg':'xxxx'}
                    if (data.success) {
                        alert("成功");
                        //页面删除行
                        $("#Conframe").load("/ysy/stream?currentPageNo=1");
                    } else {
                        alert("失败");

                    }
                }
            });
        }
    </script>
</body>
</html>